#ifndef HTTPD_H
#define HTTPD_H
#include<sys/epoll.h>
#include <string>
#include<sys/socket.h>
#include<sys/types.h>
#include<arpa/inet.h>
#include<fcntl.h>
#include<sys/stat.h>
#include<ctype.h>
#include<string.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <strings.h>
#include <string.h>
#include <ctype.h>
#include <arpa/inet.h>   //包含字节套的函数体
#include "plus/threadpool.h"
#include "base/httpmessage.h"
#define MALFORMED 0
#define OK 1
#define FORBIDDEN 2
#define NOTFOUND 3


using namespace std;

void start_httpd(unsigned short port, string doc_root, int pool_num);
int get_sfd();
#endif 
